<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Demo 02 - margin</title>
    <style>
      .container {
        border: 5px solid blue;
        margin: 40px;
      }

      .box {
        border: 5px solid rebeccapurple;
        background-color: lightgray;
        padding: 10px;
        height: 100px;
        /* try changing the margin properties: */
        margin-top: 20px;
        margin-right: 30px;
        margin-bottom: 40px;
        margin-left: 4em;
      }
    </style>
  </head>
  <body>
    <div class="container">
      <div class="box">Change my margin.</div>
    </div>
  </body>
</html>
